package com.xiaobai.mybatis_plus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaobaibai
 * @since 2022-01-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("health_info")
public class HealthInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 打卡信息主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账号信息
     */
    @TableField("student_id")
    private String studentId;

    /**
     * 账号密码
     */
    @TableField("password")
    private String password;

    /**
     * 定时时间HH:mm
     */
    @TableField("timing_str")
    private String timingStr;

    /**
     * 地址型号
     */
    @TableField("address_id")
    private Integer addressId;

    /**
     * 精确地址
     */
    @TableField("address")
    private String address;

    /**
     * 是否开启打卡
     */
    @TableField("open")
    private Boolean open;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
